package com.demo.service;

import com.demo.dao.Course;

import java.util.List;

public interface CourseService {

    List<Course> findAllCourse();

    String findNameById(int cid);

    List<String> findAllCourseByTerm(String term);

    List<Course> findCourseByTerm(String term);

    List<Integer> transIdByName(List<String> names);

    Course findCourseByCid(int cid);

    Integer getCidByName(String cname);

}
